package com.share.design.mediator;

import lombok.Setter;

/**
 * 抽象同事类
 * author:caifan
 * date:2020/2/6
 */
public abstract class Colleague {
    @Setter
    protected Mediator mediator;

    public abstract void receive();

    public abstract void send();

}
